package com.tuanzi.loan.business.entity.templateConf;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Data
@Entity
@Table(name = "loan_api_model_item_option")
public class LoanApiModelItemOptionEntity implements Serializable {

	private static final long serialVersionUID = 4097008453374260209L;

	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;

	@Column(name = "item_id")
	private Long itemId;

	@Column(name = "option_basis_id")
	private Long optionBasisId;

	@Column(name = "sort")
	private Short sort;

	@Column(name = "show_son")
	private Short showSon;
}
